﻿using Company.Application.Share.Prism;
using Company.Core.Helpers;
using Company.Core.IOC;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Services.Dialogs;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace Company.Application.Menu.ViewModels
{
    public class MenuViewModel : ReactiveObject
    {
        public MenuViewModel()
        {
            ShowSystemSettingCommand = ReactiveCommand.Create(ShowSysSetting);
        }

        public ICommand ShowSystemSettingCommand { get; }

        private void ShowSysSetting()
        {
            PrismProvider.DialogService.ShowDialog(ViewNames.SettingView, Callback);
        }

        private void Callback(IDialogResult dialogResult)
        {

        }
    }
}
